Skip to main content

mcpServerConnection

MCPServerConnection Model

Represents the connection status and available tools information when testing a connection to an MCP server.


server_name (string) Required

Name of the MCP server. Maximum 255 characters, minimum 1 character.


connection_successful (boolean) Required

Whether the connection test was successful.


available_tools_count (integer) Required

Number of tools available on the server.


available_tools (array[string]) Required

List of available tool names. Each tool name must have minimum 1 character.


errors (array[string]) Required

List of error messages if any occurred during connection. Each error message must have minimum 1 character.


Example

{
"server_name": "string",
"connection_successful": true,
"available_tools_count": 0,
"available_tools": [
"string"
],
"errors": []
}